<?php


namespace app\adminapi\controller;


use app\util\ReturnCode;

class Miss extends Base
{

    /**
     * 异常接口控制类
     * 2020/6/4 9:26
     * @return \think\response\Json
     */
    public function index(){
        if ($this->request->isOptions()){
            return $this->buildSuccess();
        }else{
            return $this->buildFailed(ReturnCode::INVALID,'接口地址异常');
        }
    }
}
